package com.landi.carkey.application;

import android.app.Application;

import com.avos.avoscloud.AVOSCloud;
import com.landi.carkey.manager.GreenDaoManager;
import com.landi.carkey.manager.LocationManger;
import com.landi.carkey.util.ToastUtil;

/**
 * @Description {具体做什么}
 * @Creator wushan
 * @Date 2016/12/1 16:15
 */

public class CarKeyApplication extends Application {

    private static CarKeyApplication mInstance;

    public static CarKeyApplication getInstance() {
        return mInstance;
    }

    @Override
    public void onCreate() {
        mInstance = this;
        GreenDaoManager.getInstance();
        ToastUtil.init(this);
        AVOSCloud.initialize(this, "TtuAsQtbxdLPI3Qz2NrqDKU8-gzGzoHsz", "OXIfUKOHYsVQHHeL0BBlQ0K3");

        LocationManger.getInstance(this);
    }

}
